﻿using System;
using System.Collections.Generic;
using System.Text;

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace Heartbeat
{
    public class Packet
    {
        private JObject Message;
        private int Channel;

        public JObject GetMessage() { return Message; }
        public int GetChannel() { return Channel; }

        public Packet(int channel, JObject pMessage)
        {
            Channel = channel;
            Message = pMessage;
        }
    }
}
